package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;

import java.util.List;

public interface CheckGroupService {
    PageResult findPage(QueryPageBean queryPageBean);

    boolean add(CheckGroup checkGroup, Integer[] ids);

    boolean delete(Integer id);

    CheckGroup findById(Integer id);

    List<Integer> findByCheckGroupIdAndCheckItemId(Integer id);

    boolean update(CheckGroup checkGroup,Integer[] ids);

    List<CheckGroup> findAll();
}
